home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global dir, sector
- if dir = -1 then
- set sector to sector + 1
- end if
- if dir = 1 then
- set sector to sector - 1
- end if
- if sector = 8 then
- set sector to 1
- end if
- if sector = 0 then
- set sector to 7
- end if
- end
-
- on exitFrame
- global sector
- set the visible of sprite 8 to 0
- go((sector + 1) * 5)
- end
-